package com.ics.atable.chat.model.dto;

import com.ics.atable.chat.model.entity.item.Column;
import com.ics.atable.chat.model.entity.item.Table;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import java.io.Serial;
import java.io.Serializable;
import java.util.List;

/**
 * 从向量数据库中检索到的 item
 *
 * @author haohongbin
 */
@Getter
@Setter
public class MatchedItem extends RetrievalResult implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(description = "指标id")
    private String itemUuid;

    @Schema(description = "指标名称")
    private String itemName;

    @Schema(description = "指标全名")
    private String itemFullName;

    @Schema(description = "指标父级名称")
    private String itemFatherName;

    @Schema(description = "指标祖父级名称")
    private String itemGrandfatherName;

    @Schema(description = "指标元数据")
    private String metadata;

    @Schema(description = "指标所属表")
    private List<Table> tableList;

}
